﻿import request from '@/utils/request';
// list
export const xiangmuleibieList = (params) => {
    return request({
        url: '/xiangmuleibie/page',
        method: 'post',
        data: params,
    })
};
export const xiangmuleibieDetail = (id) => {
    return request({
        url: '/xiangmuleibie/'+id,
        method: 'get',
    })
};
// add
export const xiangmuleibieSave = (params) => {
    return request({
        url: '/xiangmuleibie',
        method: 'post',
        data: params,
    })
};
// updt
export const xiangmuleibieEdit = (params) => {
    return request({
        url: '/xiangmuleibie',
        method: 'put',
        data: params,
    })
};
// delete
export const xiangmuleibieDelete = (id) => {
    return request({
        url: '/xiangmuleibie/'+id,
        method: 'delete',
    })
};
// pldel
export const xiangmuleibieDeleteList = (xiangmuleibies) => {
    return request({
        url: '/xiangmuleibie/deleteList',
        data:{list:xiangmuleibies},
        method: 'post',
    })
};
// all
export const xiangmuleibieAllList = () => {
    return request({
        url: '/xiangmuleibie',
        method: 'get',
    })
};

